package com.gnerv.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gnerv.cms.entity.Content;

import java.util.List;

/**
 * <p>
 * CMS平台-文章内容表 服务类
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-01
 */
public interface IContentService extends IService<Content> {
    boolean createContent(Content content);

    boolean deleteContent(String bId);

    boolean deleteContentByAid(String aId);

    boolean updateContent(Content content);

    Content selectContent(String bId);

    List<Content> listContent(Content content);

    Content selectContentByAid(String aId);
}
